package io.chenglicun.modules.clc.dto.dataset;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.chenglicun.common.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
* 数据字段
*
* @author HFHQ 1986866856@qq.com
* @since 1.0 2024-02-26
*/
@Data
@ApiModel(value = "数据字段")
public class ClcDataColumnDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "创建人")
    private Long creator;
    @ApiModelProperty(value = "创建时间")
    private Date createDate;
    @ApiModelProperty(value = "中文名称")
    private String name;
    @ApiModelProperty(value = "中文首拼")
    private String chInitials;
    @ApiModelProperty(value = "内部标识符")
    private String inId;
    @ApiModelProperty(value = "数据分类")
    private Integer dataType;
    @ApiModelProperty(value = "数据等级")
    private Integer dataLevel;
    @ApiModelProperty(value = "数据共享")
    private Integer dataShare;
    @ApiModelProperty(value = "数据开放")
    private Integer dataOpen;

    @ApiModelProperty(value = "数据列表")
    private List<ClcDataContentDTO> dataContentDTOList;
    @ApiModelProperty(value = "排序")
    private Integer sort;
    @ApiModelProperty(value = "类型：文本/文件")
    private String type;

}